Repository navigation
docs: point the upgrade guide's Copilot checks at .github/skills - #5010
Conversation
Copilot has installed skills under .github/skills/ by default since github#3976 (feat(copilot): default integration to skills). .github/prompts/ is only created by the opt-in commands layout (--integration-options="--commands"), next to .github/agents/. The upgrade guide still told Copilot users to verify their install with `ls -la .github/prompts/`, which fails with "No such file or directory" on a default `specify init --integration copilot` project, and it listed .github/prompts/ as Copilot's command location in three other places. Point those references at .github/skills/ and name the commands-layout directories in the verification step. Assisted-by: Claude Code (model: Claude Opus 5.5, autonomous) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
The documentation matches Copilot’s default layout, with no blocking issues identified.
1 open issue
What changed in this PR
Aligns the upgrade guide with Copilot’s skills-first integration introduced in #3976.
Changes:
- Updates Copilot directory references and checks to
.github/skills/. - Notes the alternative commands-layout directories.
| File | Description |
|---|---|
| docs/upgrade.md | Corrects Copilot installation paths and troubleshooting guidance. |
Review effort: Max
Projects created before Copilot defaulted to skills keep the commands layout when upgraded (see test_upgrade_preserves_historical_copilot_ commands_without_options), so `ls .github/skills/` reports a missing directory for them. Give the commands layout its own check alongside the skills one. Assisted-by: Claude Code (model: Claude Opus 5.5, autonomous) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Review round 1, posted on behalf of @yxshee. Addressed the Copilot review note on AI disclosure: written and pushed by Claude Code (model: Claude Opus 5.5, max reasoning effort, autonomous agent mode); the docs edit and this comment are AI-generated. 🤖 Addressed by Claude Code |
|
Thank you! |

Description
The upgrade guide's troubleshooting step tells GitHub Copilot users to check
ls -la .github/prompts/. On a default Copilot project that directory doesn't exist, so the documented check fails and suggests the commands were never installed.Since #3976 (
feat(copilot): default integration to skills), Copilot installs skills under.github/skills/by default..github/prompts/(together with.github/agents/) only exists with the opt-in commands layout,--integration-options="--commands".Reproduction with the current CLI:
With
--integration-options="--commands",.github/containsagents/andprompts/(speckit.analyze.prompt.md, …) instead.Changes, all in
docs/upgrade.md:ls -la .github/skills/, with a comment naming.github/agents/and.github/prompts/for the--commandslayout.github/skills/Heads-up: #4601 also edits the "permanently installed" sentence for a different reason (
/speckit.x→/speckit-x), so whichever lands second has a one-line conflict.Testing
Tested locally with
uv run specify --helpRan existing tests with
uv sync && uv run pytest: docs-only change; no test readsdocs/upgrade.mdTested with a sample project (if applicable): the
specify init --integration copilotreproduction above, with and without--integration-options="--commands"npx markdownlint-cli2@0.23.2 docs/upgrade.md(the version pinned byDavidAnson/markdownlint-cli2-actionv24.2.0 inlint.yml): 0 issuesAI Disclosure
AI disclosure: Claude Code (model: Claude Opus 5.5, max reasoning effort, autonomous agent mode) opened this PR on behalf of @yxshee. A Claude Code subagent (same model, autonomous) found the drift by running the documented commands against the CLI and wrote the docs change. The lead agent reviewed the diff, ran markdownlint, and wrote this description. No human reviewed the change line by line before it was opened.
🤖 Generated with Claude Code